package cn.chiship.bs.api.biz.pojo.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @author LiJian
 */
public class CacheUserVO implements Serializable {
    /**
     * 会话ID
     */
    private String sessionId;

    /**
     * 用户类型
     */
    private String userType;

    /**
     * 主键
     */
    private Object id;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 用户名
     */
    private String username;

    /**
     * 昵称
     */
    private String nickName;
    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 用户编号
     */
    private String userCode;

    /**
     * 是否需要修改密码
     */
    private Boolean isInitPassword;

    /**
     * 状态
     */
    private Byte status;


    /**
     * 姓名拼音
     */
    private String userPinyin;

    /**
     * 扩展信息
     */
    private Object extInfo;

    /**
     * 用户所属角色
     * 当系统中设计用户只有一个角色时用
     */
    private CacheRoleVo cacheRoleVo;

    /**
     * 用户所属角色集合
     * 当系统中设计用户拥有多个角色时用
     */
    private List<CacheRoleVo> cacheRoleVos;

    /**
     * 用户权限集合
     */
    private List<String> perms;

    /**
     * 用户菜单集合
     */
    private List<Object> menuPerms;


    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Boolean getInitPassword() {
        return isInitPassword;
    }

    public void setInitPassword(Boolean initPassword) {
        isInitPassword = initPassword;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getUserPinyin() {
        return userPinyin;
    }

    public void setUserPinyin(String userPinyin) {
        this.userPinyin = userPinyin;
    }

    public Object getExtInfo() {
        return extInfo;
    }

    public void setExtInfo(Object extInfo) {
        this.extInfo = extInfo;
    }

    public CacheRoleVo getCacheRoleVo() {
        return cacheRoleVo;
    }

    public void setCacheRoleVo(CacheRoleVo cacheRoleVo) {
        this.cacheRoleVo = cacheRoleVo;
    }

    public List<CacheRoleVo> getCacheRoleVos() {
        return cacheRoleVos;
    }

    public void setCacheRoleVos(List<CacheRoleVo> cacheRoleVos) {
        this.cacheRoleVos = cacheRoleVos;
    }

    public List<String> getPerms() {
        return perms;
    }

    public void setPerms(List<String> perms) {
        this.perms = perms;
    }

    public List<Object> getMenuPerms() {
        return menuPerms;
    }

    public void setMenuPerms(List<Object> menuPerms) {
        this.menuPerms = menuPerms;
    }
}
